//
//  AutoScrollView.h
//  UI_scrollView的封装
//
//  Created by 梁新昌 on 16/3/6.
//  Copyright © 2016年 梁新昌. All rights reserved.
//

#import <UIKit/UIKit.h>

//typedef void(^blockOfIndex) (NSInteger index);

@interface AutoScrollView : UIScrollView
//@property (nonatomic, assign) CGFloat timeInterVal;
@property (nonatomic, strong) NSMutableArray<NSString *> *picMutableArray;
//图片被点击会调用该block
@property (nonatomic, copy) void (^block)(NSInteger index); //index从0开始

//创建方法
- (void)scrollViewBuild;
- (void)pageControllBuild;
@end
